package org.xg.study.pd.model.vo;

import com.alibaba.fastjson.JSONObject;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author CMG
 * @version 1.0
 * @className TreeNodeLink
 * @description 规则树线信息
 * @date 2021/9/14 21:33
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TreeNodeLink {
    /**
     * 节点From
     */
    private Long nodeIdFrom;
    /**
     * 节点To
     */
    private Long nodeIdTo;
    /**
     * 限定类型：1:=;2:>;3:<;4:>=;5<=;6:enum[枚举范围]
     */
    private Integer ruleLimitType;
    /**
     * 限定值
     */
    private String ruleLimitValue;

    @Override
    public String toString() {
        return JSONObject.toJSONString(this);
    }
}
